obj = file.c list.c comment.c system.c sort.c ticket.c main.c

result:$(obj)
	gcc -o result $(obj)

%.o:%.c
	gcc -c $< -o $@

clean:
	rm -rf *.o